package com.topvision.service.impl.ar;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
import java.util.Map;

import com.topvision.mapper.ar.FaceGroupMapper;
import com.topvision.model.ar.FaceGroup;
import com.topvision.service.ar.FaceGroupService;

@Service("faceGroupService")
public class FaceGroupServiceImpl implements FaceGroupService {
	@Autowired
	private FaceGroupMapper faceGroupMapper;
	
	@Override
	public FaceGroup queryObject(Long id){
		return faceGroupMapper.queryObject(id);
	}
	
	@Override
	public List<FaceGroup> queryList(Map<String, Object> map){
		return faceGroupMapper.queryList(map);
	}
	
	@Override
	public int queryTotal(Map<String, Object> map){
		return faceGroupMapper.queryTotal(map);
	}
	
	@Override
	public void save(FaceGroup faceGroup){
		faceGroupMapper.save(faceGroup);
	}
	
	@Override
	public void update(FaceGroup faceGroup){
		faceGroupMapper.update(faceGroup);
	}
	
	@Override
	public void delete(Long id){
		faceGroupMapper.delete(id);
	}
	
	@Override
	public void deleteBatch(Long[] ids){
		faceGroupMapper.deleteBatch(ids);
	}

    @Override
    public FaceGroup queryObjectByMap(Map<String, Object> map){
        return faceGroupMapper.queryObjectByMap(map);
    }

    @Override
    public List<FaceGroup> queryByParam(Map<String, Object> map){
        return faceGroupMapper.queryByParam(map);
    }
}
